package org.ax.service.device;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.ax.pojo.device.Device;
import org.ax.pojo.device.DeviceType;

import java.util.List;

/**
 * 编程人:赵浩鑫
 * 时间:2021-02-28-22:58
 */
public interface DeviceService extends IService<Device> {
    Page<Device> searchDevices(Page page,String deviceTypeId);
    boolean addDevice(Device device);
    boolean updateDevice(Device device);
    boolean deletesDevice(String[] ids);
    Device toDeviceId(String id);
    List<Device> findDevices();
}
